#include <iostream>
#include <thread>
#include "TouchpadMonitor.h"

using namespace std;
using namespace TouchpadUtils;

int main(int argc, char* argv[])
{
	std::cout << "TouchpadMonitor example" << std::endl;
	std::thread touchpadMonThread([&]() {
		TouchpadMonitor::GetInstance()->Init();
	});

	if (touchpadMonThread.joinable()) {
		touchpadMonThread.join();
	}

	TouchpadMonitor::GetInstance()->UnInit();

	return 0;
}